package gae.testjig.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("rpc")
public interface GaeTestJigService extends RemoteService {

	String initiateChannelOpen(ClientChannelId clientChannelId);
	void sendEchoChannel(ClientChannelId clientChannelId);
	ClientTestStats getTestStatus(String testId);
	String startTest1(ClientChannelId clientChannelId);
	String startTest2(ClientChannelId clientChannelId);
	String startTest3(ClientChannelId clientChannelId);

	void jdoTest1(ClientChannelId clientChannelId);
	void jdoTest2(ClientChannelId clientChannelId);
	
	boolean doConstraintTest(ClientChannelId clientChannelId, String ownerName, String seatId);
	void resetConstraintTest(ClientChannelId clientChannelId, String[] ownerNames, String seatId);
	void fetchSeatInfo(ClientChannelId clientChannelId, String seatId);
	void doRace(ClientChannelId clientChannelId, String[] ownerName, String seatId);
	void doRaceObjectify(ClientChannelId clientChannelId, String[] ownerName, String seatId);

}
